<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: Bootloader Hardware</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__bl__hw.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Bootloader Hardware<div class="ingroups"><a class="el" href="group__bootloader.html">Bootloader</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Hardware management APIs.  
<a href="#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for Bootloader Hardware:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<center><table><tr><td><div class="center"><iframe scrolling="no" frameborder="0" src="group__bl__hw.svg" width="286" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gafcf22c65520435383dbbf80166373c2e"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gafcf22c65520435383dbbf80166373c2e">pin_irq_callback_t</a>) (uint32_t instance)</td></tr>
<tr class="memdesc:gafcf22c65520435383dbbf80166373c2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback function invoked for a pin change interrupt.  <a href="#gafcf22c65520435383dbbf80166373c2e">More...</a><br /></td></tr>
<tr class="separator:gafcf22c65520435383dbbf80166373c2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gafad0edea90ca53dcd0d83b84b0e53372"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gafad0edea90ca53dcd0d83b84b0e53372">I2C_SetSystemIRQ</a> (uint32_t instance, <a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a> set)</td></tr>
<tr class="memdesc:gafad0edea90ca53dcd0d83b84b0e53372"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure IRQ gate for I2C peripherals.  <a href="#gafad0edea90ca53dcd0d83b84b0e53372">More...</a><br /></td></tr>
<tr class="separator:gafad0edea90ca53dcd0d83b84b0e53372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2eca5fa654a267aa59f52540898f303"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gaf2eca5fa654a267aa59f52540898f303">DSPI_SetSystemIRQ</a> (uint32_t instance, <a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a> set)</td></tr>
<tr class="memdesc:gaf2eca5fa654a267aa59f52540898f303"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure IRQ gate for DSPI peripherals.  <a href="#gaf2eca5fa654a267aa59f52540898f303">More...</a><br /></td></tr>
<tr class="separator:gaf2eca5fa654a267aa59f52540898f303"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf391943d14849f90205b044be1286e1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gaf391943d14849f90205b044be1286e1f">LPUART_SetSystemIRQ</a> (uint32_t instance, <a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a> set)</td></tr>
<tr class="memdesc:gaf391943d14849f90205b044be1286e1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure IRQ gate for LPUART peripherals.  <a href="#gaf391943d14849f90205b044be1286e1f">More...</a><br /></td></tr>
<tr class="separator:gaf391943d14849f90205b044be1286e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga938a95edbfd080dc713c4c88d0a24a8d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga938a95edbfd080dc713c4c88d0a24a8d">UART_SetSystemIRQ</a> (uint32_t instance, <a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a> set)</td></tr>
<tr class="memdesc:ga938a95edbfd080dc713c4c88d0a24a8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure IRQ gate for UART peripherals.  <a href="#ga938a95edbfd080dc713c4c88d0a24a8d">More...</a><br /></td></tr>
<tr class="separator:ga938a95edbfd080dc713c4c88d0a24a8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga859e3d42beef41bb886ec91804927334"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga859e3d42beef41bb886ec91804927334">lpi2c_set_system_IRQ_gate</a> (uint32_t instance, <a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a> set)</td></tr>
<tr class="memdesc:ga859e3d42beef41bb886ec91804927334"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure IRQ gate for LPI2C peripherals.  <a href="#ga859e3d42beef41bb886ec91804927334">More...</a><br /></td></tr>
<tr class="separator:ga859e3d42beef41bb886ec91804927334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ba9834fb6069fa9a3c1505b98740fec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga2ba9834fb6069fa9a3c1505b98740fec">lpspi_set_system_IRQ_gate</a> (uint32_t instance, <a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a> set)</td></tr>
<tr class="memdesc:ga2ba9834fb6069fa9a3c1505b98740fec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure IRQ gate for LPSPI peripherals.  <a href="#ga2ba9834fb6069fa9a3c1505b98740fec">More...</a><br /></td></tr>
<tr class="separator:ga2ba9834fb6069fa9a3c1505b98740fec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac12d42451976d7da38d4935131e7d8ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac12d42451976d7da38d4935131e7d8ac"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gac12d42451976d7da38d4935131e7d8ac">init_hardware</a> (void)</td></tr>
<tr class="memdesc:gac12d42451976d7da38d4935131e7d8ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the hardware such as pinmux. <br /></td></tr>
<tr class="separator:gac12d42451976d7da38d4935131e7d8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68f1c90a2fb322f45877d8799a937500"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga68f1c90a2fb322f45877d8799a937500"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga68f1c90a2fb322f45877d8799a937500">deinit_hardware</a> (void)</td></tr>
<tr class="memdesc:ga68f1c90a2fb322f45877d8799a937500"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeInitialize the hardware such as disabling port clock gate. <br /></td></tr>
<tr class="separator:ga68f1c90a2fb322f45877d8799a937500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c73eba366c6d1d26432541b2dcfd1c0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9c73eba366c6d1d26432541b2dcfd1c0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga9c73eba366c6d1d26432541b2dcfd1c0">update_available_peripherals</a> (void)</td></tr>
<tr class="memdesc:ga9c73eba366c6d1d26432541b2dcfd1c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update available peripherals based on specific chips. <br /></td></tr>
<tr class="separator:ga9c73eba366c6d1d26432541b2dcfd1c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga124eb4cf83f072cf1bab94bf5d84c017"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga124eb4cf83f072cf1bab94bf5d84c017">configure_clocks</a> (bootloader_clock_option_t option)</td></tr>
<tr class="memdesc:ga124eb4cf83f072cf1bab94bf5d84c017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the logic level of the board specific GPIO pin used for autobaud.  <a href="#ga124eb4cf83f072cf1bab94bf5d84c017">More...</a><br /></td></tr>
<tr class="separator:ga124eb4cf83f072cf1bab94bf5d84c017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab82079fc48df318974d57942054a1e31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab82079fc48df318974d57942054a1e31"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gab82079fc48df318974d57942054a1e31">get_available_lirc_clock</a> (void)</td></tr>
<tr class="memdesc:gab82079fc48df318974d57942054a1e31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the available lirc clock frequency in Hertz. <br /></td></tr>
<tr class="separator:gab82079fc48df318974d57942054a1e31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaedbaf90fb8a68228c5e8b1d3b9c99f53"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaedbaf90fb8a68228c5e8b1d3b9c99f53"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gaedbaf90fb8a68228c5e8b1d3b9c99f53">get_bus_clock</a> (void)</td></tr>
<tr class="memdesc:gaedbaf90fb8a68228c5e8b1d3b9c99f53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current bus clock frequency in Hertz. <br /></td></tr>
<tr class="separator:gaedbaf90fb8a68228c5e8b1d3b9c99f53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0fa7251a11474ee329c233e1a384e2e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf0fa7251a11474ee329c233e1a384e2e"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gaf0fa7251a11474ee329c233e1a384e2e">get_system_core_clock</a> (void)</td></tr>
<tr class="memdesc:gaf0fa7251a11474ee329c233e1a384e2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current core clock frequency in Hertz. <br /></td></tr>
<tr class="separator:gaf0fa7251a11474ee329c233e1a384e2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10f17b9ceb73e44505465ade74afc65d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga10f17b9ceb73e44505465ade74afc65d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga10f17b9ceb73e44505465ade74afc65d">usb_clock_init</a> (void)</td></tr>
<tr class="memdesc:ga10f17b9ceb73e44505465ade74afc65d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure usb clock. <br /></td></tr>
<tr class="separator:ga10f17b9ceb73e44505465ade74afc65d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4460f507113f454df8a820ffe7ebc4cb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4460f507113f454df8a820ffe7ebc4cb"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga4460f507113f454df8a820ffe7ebc4cb">get_uart_clock</a> (uint32_t instance)</td></tr>
<tr class="memdesc:ga4460f507113f454df8a820ffe7ebc4cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value in MHz of the UART clock based on the instance. <br /></td></tr>
<tr class="separator:ga4460f507113f454df8a820ffe7ebc4cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3ab35727c2f88998307291b564883cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac3ab35727c2f88998307291b564883cd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gac3ab35727c2f88998307291b564883cd">is_boot_pin_asserted</a> (void)</td></tr>
<tr class="memdesc:gac3ab35727c2f88998307291b564883cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if reset BOOTROM mode is selected. <br /></td></tr>
<tr class="separator:gac3ab35727c2f88998307291b564883cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21ae3beb434458bc93918455d68c47e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga21ae3beb434458bc93918455d68c47e9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga21ae3beb434458bc93918455d68c47e9">enable_autobaud_pin_irq</a> (uint32_t instance, <a class="el" href="group__bl__hw.html#gafcf22c65520435383dbbf80166373c2e">pin_irq_callback_t</a> func)</td></tr>
<tr class="memdesc:ga21ae3beb434458bc93918455d68c47e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the autobaud pin IRQ for the specific instance passed. <br /></td></tr>
<tr class="separator:ga21ae3beb434458bc93918455d68c47e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga45c8d855d903f9b450586c5e91404dc8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga45c8d855d903f9b450586c5e91404dc8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga45c8d855d903f9b450586c5e91404dc8">disable_autobaud_pin_irq</a> (uint32_t instance)</td></tr>
<tr class="memdesc:ga45c8d855d903f9b450586c5e91404dc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the autobaud pin IRQ for the instance passed. <br /></td></tr>
<tr class="separator:ga45c8d855d903f9b450586c5e91404dc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7ee340978f5c25f52f0cad1457c6616"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae7ee340978f5c25f52f0cad1457c6616"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gae7ee340978f5c25f52f0cad1457c6616">Reset_Handler</a> (void)</td></tr>
<tr class="memdesc:gae7ee340978f5c25f52f0cad1457c6616"><td class="mdescLeft">&#160;</td><td class="mdescRight">Declaration for the reset handler, which is defined in assembler. <br /></td></tr>
<tr class="separator:gae7ee340978f5c25f52f0cad1457c6616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5708fee21b6857aa62c851d0ac33412"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae5708fee21b6857aa62c851d0ac33412"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gae5708fee21b6857aa62c851d0ac33412">bootloader_watchdog_init</a> (void)</td></tr>
<tr class="memdesc:gae5708fee21b6857aa62c851d0ac33412"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize watchdog. <br /></td></tr>
<tr class="separator:gae5708fee21b6857aa62c851d0ac33412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6717df810fa24f6c7525a41be28e9c47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6717df810fa24f6c7525a41be28e9c47"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga6717df810fa24f6c7525a41be28e9c47">bootloader_watchdog_service</a> (void)</td></tr>
<tr class="memdesc:ga6717df810fa24f6c7525a41be28e9c47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Service watchdog. <br /></td></tr>
<tr class="separator:ga6717df810fa24f6c7525a41be28e9c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90006ff23f7975a336869a06d5541fd1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga90006ff23f7975a336869a06d5541fd1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga90006ff23f7975a336869a06d5541fd1">bootloader_watchdog_deinit</a> (void)</td></tr>
<tr class="memdesc:ga90006ff23f7975a336869a06d5541fd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">De-initialize watchdog. <br /></td></tr>
<tr class="separator:ga90006ff23f7975a336869a06d5541fd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7d70204f30a9e23866da7bcfdd948ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac7d70204f30a9e23866da7bcfdd948ae"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gac7d70204f30a9e23866da7bcfdd948ae">qspi_need_configure</a> (void)</td></tr>
<tr class="memdesc:gac7d70204f30a9e23866da7bcfdd948ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if QSPI module to be configured. <br /></td></tr>
<tr class="separator:gac7d70204f30a9e23866da7bcfdd948ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga161d2760731961f2532901d3efd63256"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga161d2760731961f2532901d3efd63256">otfad_init_as_needed</a> (void)</td></tr>
<tr class="memdesc:ga161d2760731961f2532901d3efd63256"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize QSPI and OTFAD module.  <a href="#ga161d2760731961f2532901d3efd63256">More...</a><br /></td></tr>
<tr class="separator:ga161d2760731961f2532901d3efd63256"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac207b00efbc744acd6a04309e1366f77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac207b00efbc744acd6a04309e1366f77"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gac207b00efbc744acd6a04309e1366f77">is_qspi_present</a> (void)</td></tr>
<tr class="memdesc:gac207b00efbc744acd6a04309e1366f77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if QSPI memory is present or not. <br /></td></tr>
<tr class="separator:gac207b00efbc744acd6a04309e1366f77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60e304d0c2c2f99a61e823669b0256b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga60e304d0c2c2f99a61e823669b0256b8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga60e304d0c2c2f99a61e823669b0256b8">is_otfad_present</a> (void)</td></tr>
<tr class="memdesc:ga60e304d0c2c2f99a61e823669b0256b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if OTFAD module is present or not. <br /></td></tr>
<tr class="separator:ga60e304d0c2c2f99a61e823669b0256b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bc70abb20b9e0c31fc752a873125e6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7bc70abb20b9e0c31fc752a873125e6a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga7bc70abb20b9e0c31fc752a873125e6a">is_ltc_present</a> (void)</td></tr>
<tr class="memdesc:ga7bc70abb20b9e0c31fc752a873125e6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if LTC module is present or not. <br /></td></tr>
<tr class="separator:ga7bc70abb20b9e0c31fc752a873125e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8c3503b10870ef624c348977f9a33a7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa8c3503b10870ef624c348977f9a33a7"></a>
<a class="el" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gaa8c3503b10870ef624c348977f9a33a7">get_qspi_otfad_init_status</a> (void)</td></tr>
<tr class="memdesc:gaa8c3503b10870ef624c348977f9a33a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return status for intializing qspi and otfad modules. <br /></td></tr>
<tr class="separator:gaa8c3503b10870ef624c348977f9a33a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab82dcf863a94f881114d8e4a1b6c5388"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab82dcf863a94f881114d8e4a1b6c5388"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#gab82dcf863a94f881114d8e4a1b6c5388">update_qspi_otfad_init_status</a> (<a class="el" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> initStatus)</td></tr>
<tr class="memdesc:gab82dcf863a94f881114d8e4a1b6c5388"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update status for intializing qspi and otfad modules <br /></td></tr>
<tr class="separator:gab82dcf863a94f881114d8e4a1b6c5388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e1d6421f68f3daf8d7888e153dd06ce"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2e1d6421f68f3daf8d7888e153dd06ce"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga2e1d6421f68f3daf8d7888e153dd06ce">is_secondary_i2c_slave_address_enabled</a> (void)</td></tr>
<tr class="memdesc:ga2e1d6421f68f3daf8d7888e153dd06ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine is the Secondary I2C slave address is enabled. <br /></td></tr>
<tr class="separator:ga2e1d6421f68f3daf8d7888e153dd06ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8259351f8c94fd9fb4cdd4fc04656b22"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8259351f8c94fd9fb4cdd4fc04656b22"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga8259351f8c94fd9fb4cdd4fc04656b22">is_in_execute_only_region</a> (uint32_t start, uint32_t lengthInBytes)</td></tr>
<tr class="memdesc:ga8259351f8c94fd9fb4cdd4fc04656b22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if data to be accessed is in execute-only region. <br /></td></tr>
<tr class="separator:ga8259351f8c94fd9fb4cdd4fc04656b22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86e4f625af55aeee6c5db67109619995"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga86e4f625af55aeee6c5db67109619995"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bl__hw.html#ga86e4f625af55aeee6c5db67109619995">is_second_core_present</a> (void)</td></tr>
<tr class="memdesc:ga86e4f625af55aeee6c5db67109619995"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if second core is present. <br /></td></tr>
<tr class="separator:ga86e4f625af55aeee6c5db67109619995"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Usage Information</h2>
<p>Hardware management APIs. </p>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="gafcf22c65520435383dbbf80166373c2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* pin_irq_callback_t) (uint32_t instance)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback function invoked for a pin change interrupt. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga124eb4cf83f072cf1bab94bf5d84c017"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void configure_clocks </td>
          <td>(</td>
          <td class="paramtype">bootloader_clock_option_t&#160;</td>
          <td class="paramname"><em>option</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the logic level of the board specific GPIO pin used for autobaud. </p>
<p>Configure hardware clocks. </p>

</div>
</div>
<a class="anchor" id="gaf2eca5fa654a267aa59f52540898f303"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DSPI_SetSystemIRQ </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a>&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure IRQ gate for DSPI peripherals. </p>
<p>This function enables or disables IRQ gate for specified DSPI peripheral</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>DSPI instance </td></tr>
    <tr><td class="paramname">set</td><td>Option for disabling or enabling IRQ gates. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gafad0edea90ca53dcd0d83b84b0e53372"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void I2C_SetSystemIRQ </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a>&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure IRQ gate for I2C peripherals. </p>
<p>This function enables or disables IRQ gate for specified I2C peripheral</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>I2C instance </td></tr>
    <tr><td class="paramname">set</td><td>Option for disabling or enabling IRQ gates. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga859e3d42beef41bb886ec91804927334"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lpi2c_set_system_IRQ_gate </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a>&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure IRQ gate for LPI2C peripherals. </p>
<p>This function enables or disables IRQ gate for specified LPI2C peripheral</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>LPI2C instance </td></tr>
    <tr><td class="paramname">set</td><td>Option for disabling or enabling IRQ gates. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga2ba9834fb6069fa9a3c1505b98740fec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lpspi_set_system_IRQ_gate </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a>&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure IRQ gate for LPSPI peripherals. </p>
<p>This function enables or disables IRQ gate for specified LPSPI peripheral</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>LPSPI instance </td></tr>
    <tr><td class="paramname">set</td><td>Option for disabling or enabling IRQ gates. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf391943d14849f90205b044be1286e1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPUART_SetSystemIRQ </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a>&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure IRQ gate for LPUART peripherals. </p>
<p>This function enables or disables IRQ gate for specified LPUART peripheral</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>LPUART instance </td></tr>
    <tr><td class="paramname">set</td><td>Option for disabling or enabling IRQ gates. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga161d2760731961f2532901d3efd63256"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> otfad_init_as_needed </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize QSPI and OTFAD module. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga938a95edbfd080dc713c4c88d0a24a8d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UART_SetSystemIRQ </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__peripherals.html#ga6bc5148daeee55537f6560fb00fb7453">PeripheralSystemIRQSetting</a>&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure IRQ gate for UART peripherals. </p>
<p>This function enables or disables IRQ gate for specified UART peripheral</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>UART instance </td></tr>
    <tr><td class="paramname">set</td><td>Option for disabling or enabling IRQ gates. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
